﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.ScriptEngine.IPC.Msg
{
    public enum EMsgType
    {
        /// <summary>
        /// 无
        /// </summary>
        None = 0,
        /// <summary>
        /// 回响
        /// </summary>
        Echo,
        /// <summary>
        /// 执行脚本
        /// </summary>
        ExcuteScript,
        /// <summary>
        /// 调试脚本
        /// </summary>
        DebugScript,
        /// <summary>
        /// 调试状态
        /// </summary>
        DebugStatus,
        /// <summary>
        /// 退出脚本
        /// </summary>
        CancelScript,
        /// <summary>
        /// 输出
        /// </summary>
        ExcuteOutPut,
        /// <summary>
        /// 输出行
        /// </summary>
        ExcuteOutPutLine,
        /// <summary>
        /// 执行终止
        /// </summary>
        ExcuteAborted,
        /// <summary>
        /// 执行未处理异常
        /// </summary>
        ExcuteUnhandledException,
        /// <summary>
        /// 执行完成
        /// </summary>
        ExcuteCompleted,
        /// <summary>
        /// 调试追踪信息
        /// </summary>
        DebugTrack,
        /// <summary>
        /// 命中断点
        /// </summary>
        HitBreakpoint,
        /// <summary>
        /// 刷新断点
        /// </summary>
        RefreshBreakpoints,
        /// <summary>
        /// 执行跟踪
        /// </summary>
        ExcuteTrack,
        /// <summary>
        /// 执行开始
        /// </summary>
        ExcuteStart,
        /// <summary>
        /// 执行结束
        /// </summary>
        ExcuteEnd,
        /// <summary>
        /// 加载子引擎
        /// </summary>
        LoadSubEngine,
        /// <summary>
        /// 已经加载子引擎
        /// </summary>
        LoadedSubEngine,
        /// <summary>
        /// 卸载子引擎
        /// </summary>
        UnloadSubEngine,
        /// <summary>
        /// 卸载子引擎回声 Oliver add 2021-06-21
        /// </summary>
        UnloadSubEngineEcho,
        /// <summary>
        /// 关闭进程
        /// </summary>
        Close
    }
}
